Emunet: Design and Implementation | a Debugging Aid for Distributed Programs in Tcp/ip Based Network Emunet: Design and Implementation | a Debugging Aid for Distributed Programs in Tcp/ip Based Network

نویسنده

  • Xiannong Meng
چکیده

Most programmers depend on reproducible behavior of a program to locate its bugs. In a sequential program, the execution of the program can easily be repeated and the problematic scenario can be replayed to nd the bugs. When a program is distributed across network, however, the execution order of the program components varies from one run to another due to external factors such as network delay. It is very diicult, often impossible, to repeat the same sequence of execution. This makes the debugging of distributed program challenging. This paper describes a tool called EMUNET that can aid debugging in distributed programming. In EMUNET, the network functions in a distributed program are replaced with the software modules that communicate through memory. The distributed program then becomes a single process with multiple, user-controlled threads of execution. The programmer can compile and test the distributed program as a single uni-processor program when debugging. The network activities are simulated. The debugging programmer can use diierent random seed to try diierence sequences of program execution, each of which is repeatable. In this way, most of the bugs can be found when debugging on a single machine. When this initial debugging process is nished, the programmer can then link the distributed program with actual network library for real execution. No internal program changes are required.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Modular Debbuging Insfrastructure for Parallel Programs

Debugging parallel and distributed programs is a difficult activity due to multiple concurrently executing and communicating tasks. One major obstacle is the amount of debugging data, which needs to be analyzed for detecting errors and their causes. The debugging tool DeWiz addresses this problem by partitioning the analysis activities into different, independent modules, and distributing these...

متن کامل

EmuNET: A Real-Time IP Network Emulator

With the increasing demand for real-time and multimedia applications over the Internet, performance of new protocols or applications has to be extensively tested before deployment on the Internet. In this paper, we describe the design and implementation of EmuNET, a lightweight, portable, configurable, and extendable network emulator, which can be used to emulate a wide variety of network chara...

متن کامل

Design and Implementation of a Java-based Distributed Debugger Supporting PVM and MPI

This paper presents a client-server debugging model, describes the design and implementation of a portable, scalable, practical distributed debugger based on this model, and compares it with the related work. The distributed debugger based on the sequential debugger gdb or dbx can efficiently support debugging various PVM and MPI programs, and its interfaces are implemented by Java. Therefore, ...

متن کامل

CORBA Evaluation of Video Streaming wrt QoS Provisioning

This paper describes the design, implementation, and evaluation of CORBA and Socket-based Continuous Media (CM) systems. TCP/IP is not suitable for distributed applications which require high network bandwidth and timing-criticality. UDP/IP is one of the alternatives. However, due to the fact that UDP is a lossy protocol, many issues arise when implementing distributed CM applications. Most of ...

متن کامل

USENIX Association Proceedings of the 4 th Annual Linux Showcase

We evaluate and compare the performance of LAM, MPICH, and MVICH on a Linux cluster connected by a Gigabit Ethernet network. Performance statistics are collected using NetPIPE which show the behavior of LAM/MPI and MPICH over a gigabit network. Since LAM and MPICH use the TCP/IP socket interface for communicating messages, it is critical to have high TCP/IP performance. Despite many efforts to ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996